package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasRouteDao;
import com.efast.dmom.mgmt.entity.master.TmBasRoute;
import com.efast.dmom.mgmt.service.master.TmBasRouteService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasRouteServiceImpl implements TmBasRouteService{
    @Autowired
    private TmBasRouteDao tmBasRouteDao;
    @Override
    public long getTmBasRouteRowCount(Assist assist){
        return tmBasRouteDao.getTmBasRouteRowCount(assist);
    }
    @Override
    public List<TmBasRoute> selectTmBasRoute(Assist assist){
        return tmBasRouteDao.selectTmBasRoute(assist);
    }
    @Override
    public TmBasRoute selectTmBasRouteByObj(TmBasRoute obj){
        return tmBasRouteDao.selectTmBasRouteByObj(obj);
    }
    @Override
    public TmBasRoute selectTmBasRouteById(Integer id){
        return tmBasRouteDao.selectTmBasRouteById(id);
    }
    @Override
    public int insertTmBasRoute(TmBasRoute value){
        return tmBasRouteDao.insertTmBasRoute(value);
    }
    @Override
    public int insertNonEmptyTmBasRoute(TmBasRoute value){
        return tmBasRouteDao.insertNonEmptyTmBasRoute(value);
    }
    @Override
    public int insertTmBasRouteByBatch(List<TmBasRoute> value){
        return tmBasRouteDao.insertTmBasRouteByBatch(value);
    }
    @Override
    public int deleteTmBasRouteById(Integer id){
        return tmBasRouteDao.deleteTmBasRouteById(id);
    }
    @Override
    public int deleteTmBasRoute(Assist assist){
        return tmBasRouteDao.deleteTmBasRoute(assist);
    }
    @Override
    public int updateTmBasRouteById(TmBasRoute enti){
        return tmBasRouteDao.updateTmBasRouteById(enti);
    }
    @Override
    public int updateTmBasRoute(TmBasRoute value, Assist assist){
        return tmBasRouteDao.updateTmBasRoute(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasRouteById(TmBasRoute enti){
        return tmBasRouteDao.updateNonEmptyTmBasRouteById(enti);
    }
    @Override
    public int updateNonEmptyTmBasRoute(TmBasRoute value, Assist assist){
        return tmBasRouteDao.updateNonEmptyTmBasRoute(value,assist);
    }

    public TmBasRouteDao getTmBasRouteDao() {
        return this.tmBasRouteDao;
    }

    public void setTmBasRouteDao(TmBasRouteDao tmBasRouteDao) {
        this.tmBasRouteDao = tmBasRouteDao;
    }

}